import { configureStore } from "@reduxjs/toolkit";
import music from './models/music'
const store = configureStore({
    reducer:{
        music
    }
})
//  推导出整个store类型
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch

export default store